<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let uname = prompt("请输入姓名")
        let age = prompt("请输入年龄")
        let gender = prompt("请输入性别")
        
        document.write(uname, "<br/>", age, "<br/>", gender)
    </script>
</body>
</html>